export interface NetClient{
    isOpen():boolean;
    onOpen();
    onError();
    onClosed();
}